Optimal. Leaf size=117 \[ e^{2 a} 2^{\frac{m-5}{2}} x \left (-\frac{b}{x^2}\right )^{\frac{m+1}{2}} (e x)^m \text{Gamma}\left (\frac{1}{2} (-m-1),-\frac{2 b}{x^2}\right )+e^{-2 a} 2^{\frac{m-5}{2}} x \left (\frac{b}{x^2}\right )^{\frac{m+1}{2}} (e x)^m \text{Gamma}\left (\frac{1}{2} (-m-1),\frac{2 b}{x^2}\right )-\frac{x (e x)^m}{2 (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.165759, antiderivative size = 117, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {5350, 5340, 5329, 2218} \[ e^{2 a} 2^{\frac{m-5}{2}} x \left (-\frac{b}{x^2}\right )^{\frac{m+1}{2}} (e x)^m \text{Gamma}\left (\frac{1}{2} (-m-1),-\frac{2 b}{x^2}\right )+e^{-2 a} 2^{\frac{m-5}{2}} x \left (\frac{b}{x^2}\right )^{\frac{m+1}{2}} (e x)^m \text{Gamma}\left (\frac{1}{2} (-m-1),\frac{2 b}{x^2}\right )-\frac{x (e x)^m}{2 (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5350
Rule 5340
Rule 5329
Rule 2218
Rubi steps
\begin{align*} \int (e x)^m \sinh ^2\left (a+\frac{b}{x^2}\right ) \, dx &=-\left (\left (\left (\frac{1}{x}\right )^m (e x)^m\right ) \operatorname{Subst}\left (\int x^{-2-m} \sinh ^2\left (a+b x^2\right ) \, dx,x,\frac{1}{x}\right )\right )\\ &=-\left (\left (\left (\frac{1}{x}\right )^m (e x)^m\right ) \operatorname{Subst}\left (\int \left (-\frac{1}{2} x^{-2-m}+\frac{1}{2} x^{-2-m} \cosh \left (2 a+2 b x^2\right )\right ) \, dx,x,\frac{1}{x}\right )\right )\\ &=-\frac{x (e x)^m}{2 (1+m)}-\frac{1}{2} \left (\left (\frac{1}{x}\right )^m (e x)^m\right ) \operatorname{Subst}\left (\int x^{-2-m} \cosh \left (2 a+2 b x^2\right ) \, dx,x,\frac{1}{x}\right )\\ &=-\frac{x (e x)^m}{2 (1+m)}-\frac{1}{4} \left (\left (\frac{1}{x}\right )^m (e x)^m\right ) \operatorname{Subst}\left (\int e^{-2 a-2 b x^2} x^{-2-m} \, dx,x,\frac{1}{x}\right )-\frac{1}{4} \left (\left (\frac{1}{x}\right )^m (e x)^m\right ) \operatorname{Subst}\left (\int e^{2 a+2 b x^2} x^{-2-m} \, dx,x,\frac{1}{x}\right )\\ &=-\frac{x (e x)^m}{2 (1+m)}+2^{\frac{1}{2} (-5+m)} e^{2 a} \left (-\frac{b}{x^2}\right )^{\frac{1+m}{2}} x (e x)^m \Gamma \left (\frac{1}{2} (-1-m),-\frac{2 b}{x^2}\right )+2^{\frac{1}{2} (-5+m)} e^{-2 a} \left (\frac{b}{x^2}\right )^{\frac{1+m}{2}} x (e x)^m \Gamma \left (\frac{1}{2} (-1-m),\frac{2 b}{x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.799796, size = 122, normalized size = 1.04 \[ \frac{x (e x)^m \left (2^{\frac{m+1}{2}} (m+1) (\sinh (2 a)+\cosh (2 a)) \left (-\frac{b}{x^2}\right )^{\frac{m+1}{2}} \text{Gamma}\left (\frac{1}{2} (-m-1),-\frac{2 b}{x^2}\right )+2^{\frac{m+1}{2}} (m+1) (\cosh (2 a)-\sinh (2 a)) \left (\frac{b}{x^2}\right )^{\frac{m+1}{2}} \text{Gamma}\left (\frac{1}{2} (-m-1),\frac{2 b}{x^2}\right )-4\right )}{8 (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.059, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{m} \left ( \sinh \left ( a+{\frac{b}{{x}^{2}}} \right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e x\right )^{m} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \sinh ^{2}{\left (a + \frac{b}{x^{2}} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \sinh \left (a + \frac{b}{x^{2}}\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]